package org.csu.mypetstore.domain;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component("sequence")
public class Sequence {
    private String name;
    private int nextId;

    public Sequence() {
    }

    public Sequence(String name, int nextId) {
        this.name = name;
        this.nextId = nextId;
    }

}
